package com.ffcs.crmd.tsp.admin.service;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.tsp.admin.entity.JobIdentityInfo;
import com.ffcs.crmd.tsp.common.exception.TspException;

public interface IJobIdentityInfoService {

    /**
     * 功能说明:
     * 
     * @param jobIdentityInfo
     * @throws TspException
     */
    void deleteJobIdentityInfo(JobIdentityInfo jobIdentityInfo) throws TspException;

    /**
     * 功能说明:
     * 
     * @param taskRegisterInfoList
     * @throws TspException
     */
    void deleteJobIdentityInfo(List<JobIdentityInfo> taskRegisterInfoList) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param id
     * @return
     * @throws TspException
     */
    JobIdentityInfo get(JobIdentityInfo jobIdentityInfo) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param identity
     * @param jobId
     * @return
     * @throws TspException
     */
    List<JobIdentityInfo> query(JobIdentityInfo jobIdentityInfo) throws TspException;

    /**
     * 功能说明:
     * 
     * @param clusterName
     * @param identity
     * @param jobId
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws TspException
     */
    PageInfo<JobIdentityInfo> queryPage(JobIdentityInfo jobIdentityInfo, int pageNumber, int pageSize) throws TspException;

    /**
     * 功能说明:
     * 
     * @param jobIdentityInfo
     * @throws TspException 
     */
    void saveJobIdentityInfo(List<JobIdentityInfo> jobIdentityInfoList) throws TspException;

    /**
     * 功能说明:
     * 
     * @param jobIdentityInfo
     * @throws TspException
     */
    void saveJobIdentityInfo(JobIdentityInfo jobIdentityInfo) throws TspException;

    
}
